package com.supermap.gwfs.monitor.service.impl;

import com.supermap.gwfs.monitor.dao.ForecastProductDao;
import com.supermap.gwfs.monitor.dao.GridForecastDao;
import com.supermap.gwfs.monitor.service.IProductMonitorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by xiaolu on 2017/9/12.
 */
@Service
public class ProductMonitorService implements IProductMonitorService {
    @Resource
    ForecastProductDao forecastProductDao;
    @Resource
    GridForecastDao gridForecastDao;

    @Override
    public List getForecastProductData(Map param) {
        return forecastProductDao.getForecastProductData(param);
    }

    @Override
    public List getGridForecastData(Map param) {
        return gridForecastDao.getGridForecastData(param);
    }
}
